package com.fsc.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Builder;
import lombok.Data;

/**
 * 群人员信息表
 * @TableName group_member
 */
@TableName(value ="group_member")
@Data
@Builder
public class GroupMember implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 成员ID（老师、学生、家长等）
     */
    private Integer memberId;

    /**
     * 群ID
     */
    private Integer groupId;

    /**
     * 入群时间
     */
    private LocalDateTime joinTime;

    /**
     * 群昵称
     */
    private String nickName;

    private Integer status;
    private String sayHello;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}